// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'

import Store from './store' //vuex 数据结构
import Router from './router' //路由
import Filters from './filter' //引入过滤器
import custom from './custom'
//import Mint from 'mint-ui';
import MuseUI from 'muse-ui'
import AMap from 'vue-amap';
import Mint from 'mint-ui'
Vue.use(Mint)

//import 'muse-ui/dist/theme-carbon.css' // 使用 carbon 主题 弃用 在app.vue引入 自定义的主题

import './assets/css/theme.css'
Vue.use(AMap);
AMap.initAMapApiLoader({
    key: '0b00174f6f8ab4ca8d350ac0da105bb9',
    plugin: ['AMap.Autocomplete', 'AMap.PlaceSearch', 'AMap.Scale', 'AMap.OverView', 'AMap.ToolBar', 'AMap.MapType', 'AMap.PolyEditor', 'AMap.CircleEditor']
});
//import muPaper from 'muse-components/appBar'
//import avatar from 'muse-components/avatar'
//Vue.use(Mint);
Vue.use(MuseUI);
//Vue(muPaper)
Vue.prototype.cmf = custom;
/* eslint-disable no-new */

Filters(Vue) //使用过滤器
new Vue({
    el: '#app',
    router: Router,
    store: Store,
    render: h => h(App)
})